package com.xuecheng.content.service;

import com.xuecheng.content.model.dto.BindTeachplanMediaDto;
import com.xuecheng.content.model.po.TeachplanMedia;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 86150
* @description 针对表【teachplan_media】的数据库操作Service
* @createDate 2023-07-11 20:26:12
*/
public interface TeachplanMediaService extends IService<TeachplanMedia> {
    /**
     * @description 教学计划绑定媒资
     * @param bindTeachplanMediaDto 绑定媒资dto
     * @return
     */
    void associationMedia(BindTeachplanMediaDto bindTeachplanMediaDto);

    /**
     * 删除媒资文件
     * @param teachPlanId 课程计划id
     * @param mediaId 媒资文件id
     */
    void deleteMedia(Long teachPlanId,String mediaId);
}
